{% extends "base_tree.html" %}

{% block list %}
<h3>категория {{ category.parent.parent.parent.name }}/{{ category.parent.parent.name }}/{{ category.parent.name }}/{{ category.name }}</h3>
<p style="padding-left: 30px;padding-bottom: 8px">
<a href="{% url ktit.storage.views.categorys.edit currentcategory %}">Изменить</a> |
<a href="{% url ktit.storage.views.categorys.delete currentcategory %}">Удалить</a>
</p>

<h3>Запчасти в документе прихода</h3>


<p>
parts information
</p>

<form action="." method="POST">
	<table align="left" cellpadding="2">
	{% for field in form %}<tr>
      <td>{% if field.help_text %}<p>{{ field.help_text }}</p>{% endif %}
	     {% if field.errors %}<p class="myerrors">{{ field.errors }}</p>{% endif %}</td>
      <td rowspan="2">{{ field }}</td>
    </tr>
    <tr>
      <td>{{ field.label_tag }}{% if field.field.required %}<font color="red">*</font>{% endif %}</td>
    </tr>{% endfor %}
	<tr><td></td><td><input type="submit" value="Сохранить"></td></tr>
	</table>
</form>
</table>


{% endblock %}
